Skip to content

Commit 18139a3

Browse files
committed
consolidated the duplicate definitions of NA values (in parsers & IO)
1 parent 31e67d5 commit 18139a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pandas/tests/io/parser/na_values.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ def test_non_string_na_values(self):
6969
tm.assert_frame_equal(out, expected)
7070

7171
def test_default_na_values(self):
72-
_NA_VALUES = set(['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN',
73-
'#N/A', 'N/A', 'n/a', 'NA', '#NA', 'NULL', 'null',
74-
'NaN', 'nan', '-NaN', '-nan', '#N/A N/A', ''])
75-
assert _NA_VALUES == parsers._NA_VALUES
72+
_NA_VALUES = parsers._NA_VALUES
7673
nv = len(_NA_VALUES)
7774

7875
def f(i, v):

0 commit comments

Comments
 (0)