Skip to content

Commit c585349

Browse files
committed
minor clean-up
1 parent 57eaccd commit c585349

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/io/test_stata.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,7 @@ def test_missing_value_generator(self):
757757
def test_missing_value_conversion(self, file):
758758
columns = ['int8_', 'int16_', 'int32_', 'float32_', 'float64_']
759759
smv = StataMissingValue(101)
760-
keys = [key for key in smv.MISSING_VALUES.keys()]
761-
keys.sort()
760+
keys = sorted(smv.MISSING_VALUES.keys())
762761
data = []
763762
for i in range(27):
764763
row = [StataMissingValue(keys[i + (j * 27)]) for j in range(5)]

0 commit comments

Comments
 (0)