Skip to content

Commit 48c6175

Browse files
committed
minor clean-up
1 parent ec07cec commit 48c6175

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
@@ -753,8 +753,7 @@ def test_missing_value_generator(self):
753753
def test_missing_value_conversion(self, file):
754754
columns = ['int8_', 'int16_', 'int32_', 'float32_', 'float64_']
755755
smv = StataMissingValue(101)
756-
keys = [key for key in smv.MISSING_VALUES.keys()]
757-
keys.sort()
756+
keys = sorted(smv.MISSING_VALUES.keys())
758757
data = []
759758
for i in range(27):
760759
row = [StataMissingValue(keys[i + (j * 27)]) for j in range(5)]

0 commit comments

Comments
 (0)