https://github.com/jmcgeheeiv/pyfakefs
Revision 40416a1920cbbe034ecf2fc2d5d68e335e9cf1eb authored by Gregory P. Smith on 11 February 2021, 05:47:24 UTC, committed by mrbean-bremen on 11 February 2021, 16:15:16 UTC
`tearDownPyfakefs` is a no-op legacy API, it was given @DeprecationWarning as a decorator... which broke it rather than making it a no-op callable as that isn't a decorator. This fixes: ``` self.tearDownPyfakefs() TypeError: 'DeprecationWarning' object is not callable ``` in code updating to a modern pyfakefs that still calls it.
1 parent 518ab38
Tip revision: 40416a1920cbbe034ecf2fc2d5d68e335e9cf1eb authored by Gregory P. Smith on 11 February 2021, 05:47:24 UTC
Remove @DeprecationWarning as it isn't a decorator
Remove @DeprecationWarning as it isn't a decorator
Tip revision: 40416a1
File | Mode | Size |
---|---|---|
.github | ||
docs | ||
pyfakefs | ||
.gitignore | -rw-r--r-- | 196 bytes |
CHANGES.md | -rw-r--r-- | 30.3 KB |
CONTRIBUTING.md | -rw-r--r-- | 3.3 KB |
COPYING | -rw-r--r-- | 9.9 KB |
Dockerfile | -rw-r--r-- | 1.5 KB |
MANIFEST.in | -rwxr-xr-x | 53 bytes |
README.md | -rw-r--r-- | 5.1 KB |
extra_requirements.txt | -rw-r--r-- | 669 bytes |
requirements.txt | -rw-r--r-- | 14 bytes |
setup.cfg | -rw-r--r-- | 66 bytes |
setup.py | -rw-r--r-- | 2.9 KB |
tox.ini | -rw-r--r-- | 312 bytes |
Computing file changes ...