forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add testing helpers for mocking and encoding tests.
pandas.util.testing now has a SimpleMock class for mocking objects which have read-only attributes. Ths mocking support is used by the *stdin_encoding* context manager to make it easy to test code with an arbitrary value for sys.stdin.encoding.
- Loading branch information
y-p
committed
Sep 27, 2012
1 parent
8b16ff6
commit af3e13c
Showing
1 changed file
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters