We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4729abc commit f33641aCopy full SHA for f33641a
pandas/tests/test_frame.py
@@ -3683,7 +3683,9 @@ def test_to_csv_from_csv(self):
3683
os.remove(path)
3684
3685
def test_to_csv_from_csv_w_some_infs(self):
3686
- path = '__tmp__'
+ import tempfile
3687
+ path = tempfile.mktemp()
3688
+ path += '__tmp__'
3689
3690
# test roundtrip with inf, -inf, nan, as full columns and mix
3691
self.frame['G'] = np.nan
@@ -3698,7 +3700,9 @@ def test_to_csv_from_csv_w_some_infs(self):
3698
3700
3699
3701
3702
def test_to_csv_from_csv_w_all_infs(self):
3703
3704
3705
3706
3707
3708
self.frame['E'] = np.inf
0 commit comments