-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
IO Stataread_stata, to_stataread_stata, to_stataUnreliable TestUnit tests that occasionally failUnit tests that occasionally failgood first issue
Milestone
Description
The test test_write_fspath_all
in
pandas/pandas/tests/io/test_common.py
Line 256 in 86879ac
def test_write_fspath_all(self, writer_name, writer_kwargs, module): |
DataFrame.to_stata provides a keyword time_stamp
to control whether the timestamp is written in the binary file.
To avoid spurious test failures from writing the first file at timestamp 1, and the second file at timestamp 2, we should pass that keyword through by adding {'time_stamp': False}
to the dict in
pandas/pandas/tests/io/test_common.py
Line 254 in 86879ac
('to_stata', {}, 'os'), |
Metadata
Metadata
Assignees
Labels
IO Stataread_stata, to_stataread_stata, to_stataUnreliable TestUnit tests that occasionally failUnit tests that occasionally failgood first issue