Skip to content

Commit d6cca0b

Browse files
author
y-p
committed
BUG: use "for" as keyword to test against
1 parent 4573146 commit d6cca0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_register_option(self):
4949
'doc')
5050

5151
# no python keywords
52-
self.assertRaises(ValueError, self.cf.register_option, 'print',0)
52+
self.assertRaises(ValueError, self.cf.register_option, 'for',0)
5353
# must be valid identifier (ensure attribute access works)
5454
self.assertRaises(ValueError, self.cf.register_option,
5555
'Oh my Goddess!',0)

0 commit comments

Comments
 (0)