45c4a8fb3d 
								
							 
						 
						
							
							
								
								Use atomicrewrites only on Windows  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/6147  
							
						 
						
							2019-11-07 20:57:45 +01:00  
				
					
						
							
							
								 
						
							
								d863c30c74 
								
							 
						 
						
							
							
								
								Fix plurality mismatch for  and  in pytest terminal summary  
							
							
							
						 
						
							2019-10-27 15:16:24 +00:00  
				
					
						
							
							
								 
						
							
								6f20b4b014 
								
							 
						 
						
							
							
								
								Introduce compat.fspath  
							
							
							
						 
						
							2019-10-26 10:37:44 -03:00  
				
					
						
							
							
								 
						
							
								f93f284356 
								
							 
						 
						
							
							
								
								Support sys.pycache_prefix on py38  
							
							... 
							
							
							
							Fix  #4730  
						
							2019-10-26 10:17:21 -03:00  
				
					
						
							
							
								 
						
							
								d91ff0af8a 
								
							 
						 
						
							
							
								
								assertrepr_compare: use safeformat with -vv  
							
							
							
						 
						
							2019-10-20 20:51:03 +02:00  
				
					
						
							
							
								 
						
							
								47c2091ecd 
								
							 
						 
						
							
							
								
								Use new no-match functions to replace previous idiom  
							
							
							
						 
						
							2019-10-06 18:05:24 -03:00  
				
					
						
							
							
								 
						
							
								cb481a354a 
								
							 
						 
						
							
							
								
								assertrepr_compare: prefer same maxsize  
							
							... 
							
							
							
							Previously it would say:
    > assert '123456789012...901234567890A' == '1234567890123...901234567890B'"
This makes it look like the "3" might be different already.
This is clearer, and it is OK to have potentially one less char in the
right one:
    > assert '123456789012...901234567890A' == '123456789012...901234567890B'" 
							
						 
						
							2019-08-12 03:41:14 +02:00  
				
					
						
							
							
								 
						
							
								d3e1907899 
								
							 
						 
						
							
							
								
								Use OSError subclasses instead of handling errno  
							
							
							
						 
						
							2019-08-02 14:17:46 -03:00  
				
					
						
							
							
								 
						
							
								7ee244476a 
								
							 
						 
						
							
							
								
								Remove astor and reproduce the original assertion expression  
							
							
							
						 
						
							2019-06-28 13:38:52 -07:00  
				
					
						
							
							
								 
						
							
								2ea22218ff 
								
							 
						 
						
							
							
								
								Cover assertions with messages when enable_assertion_pass_hook is enabled  
							
							
							
						 
						
							2019-06-26 20:46:31 -03:00  
				
					
						
							
							
								 
						
							
								eb90f3d1c8 
								
							 
						 
						
							
							
								
								Fix default value of 'enable_assertion_pass_hook'  
							
							
							
						 
						
							2019-06-26 17:54:24 -03:00  
				
					
						
							
							
								 
						
							
								6f851e6cbb 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into features-assertion-pass-hook-master  
							
							... 
							
							
							
							# Conflicts:
#	src/_pytest/assertion/rewrite.py 
							
						 
						
							2019-06-26 18:12:56 +02:00  
				
					
						
							
							
								 
						
							
								f755ff6af1 
								
							 
						 
						
							
							
								
								Black formatting.  
							
							
							
						 
						
							2019-06-26 18:10:16 +02:00  
				
					
						
							
							
								 
						
							
								d638da5821 
								
							 
						 
						
							
							
								
								Using ini-file option instead of cmd option.  
							
							
							
						 
						
							2019-06-26 18:10:16 +02:00  
				
					
						
							
							
								 
						
							
								4db5488ed8 
								
							 
						 
						
							
							
								
								Now dependent on command line option.  
							
							
							
						 
						
							2019-06-25 19:49:05 +02:00  
				
					
						
							
							
								 
						
							
								81e3f3cf95 
								
							 
						 
						
							
							
								
								Black formatting  
							
							
							
						 
						
							2019-06-25 10:41:11 +02:00  
				
					
						
							
							
								 
						
							
								f43fb13179 
								
							 
						 
						
							
							
								
								Include pytest version in the cached pyc tags  
							
							... 
							
							
							
							Fix  #1671  
						
							2019-06-24 20:37:07 -03:00  
				
					
						
							
							
								 
						
							
								4cd08f9b52 
								
							 
						 
						
							
							
								
								Switch from deprecated imp to importlib  
							
							
							
						 
						
							2019-06-24 09:48:38 -07:00  
				
					
						
							
							
								 
						
							
								9a89783fbb 
								
							 
						 
						
							
							
								
								Assertion passed hook  
							
							
							
						 
						
							2019-06-24 16:09:39 +02:00  
				
					
						
							
							
								 
						
							
								2b92fee1c3 
								
							 
						 
						
							
							
								
								initial conversion of exit codes to enum  
							
							
							
						 
						
							2019-06-15 06:48:00 +02:00  
				
					
						
							
							
								 
						
							
								1b381d5277 
								
							 
						 
						
							
							
								
								Revert "Unroll calls to any  #5062  ( #5103 )"  
							
							... 
							
							
							
							This reverts commit 2b9ca342800a57124063 
							
						 
						
							2019-06-03 08:42:03 -07:00  
				
					
						
							
							
								 
						
							
								2125d04501 
								
							 
						 
						
							
							
								
								Revert "Fix all() unroll for non-generators/non-list comprehensions ( #5360 )"  
							
							... 
							
							
							
							This reverts commit 733f43b02ee4fe41ebb7 
							
						 
						
							2019-06-03 08:42:03 -07:00  
				
					
						
							
							
								 
						
							
								a91fe1fedd 
								
							 
						 
						
							
							
								
								pre-commit run pyupgrade --all-files  
							
							
							
						 
						
							2019-06-03 12:08:02 -03:00  
				
					
						
							
							
								 
						
							
								3f1ec520fc 
								
							 
						 
						
							
							
								
								pre-commit run reorder-python-imports --all-files  
							
							
							
						 
						
							2019-06-03 12:08:01 -03:00  
				
					
						
							
							
								 
						
							
								5034399d7a 
								
							 
						 
						
							
							
								
								pre-commit run fix-encoding-pragma --all-files  
							
							
							
						 
						
							2019-06-03 12:08:01 -03:00  
				
					
						
							
							
								 
						
							
								4d49ba6529 
								
							 
						 
						
							
							
								
								Drop Python 2.7 and 3.4 support  
							
							... 
							
							
							
							* Update setup.py requires and classifiers
* Drop Python 2.7 and 3.4 from CI
* Update docs dropping 2.7 and 3.4 support
* Fix mock imports and remove tests related to pypi's mock module
* Add py27 and 34 support docs to the sidebar
* Remove usage of six from tmpdir
* Remove six.PY* code blocks
* Remove sys.version_info related code
* Cleanup compat
* Remove obsolete safe_str
* Remove obsolete __unicode__ methods
* Remove compat.PY35 and compat.PY36: not really needed anymore
* Remove unused UNICODE_TYPES
* Remove Jython specific code
* Remove some Python 2 references from docs
Related to #5275  
							
						 
						
							2019-06-02 14:39:11 -03:00  
				
					
						
							
							
								 
						
							
								acdf30a523 
								
							 
						 
						
							
							
								
								Fix all() unroll for non-generators/non-list comprehensions  
							
							... 
							
							
							
							Fix  #5358  
						
							2019-06-02 12:12:14 -03:00  
				
					
						
							
							
								 
						
							
								2b9ca34280 
								
							 
						 
						
							
							
								
								Unroll calls to any  #5062  ( #5103 )  
							
							... 
							
							
							
							Unroll calls to any #5062  
							
						 
						
							2019-05-27 20:17:44 -03:00  
				
					
						
							
							
								 
						
							
								852fb6a4ae 
								
							 
						 
						
							
							
								
								Change basic test case to be consistent with existing assertion rewriting  
							
							... 
							
							
							
							The code
```
x = 0
assert x == 1
```
will give the failure message 0 == 1, so it shouldn't be different as
part of an unroll 
							
						 
						
							2019-05-25 19:34:08 +03:00  
				
					
						
							
							
								 
						
							
								437d6452c1 
								
							 
						 
						
							
							
								
								Expand list comprehensions as well  
							
							
							
						 
						
							2019-05-25 19:34:08 +03:00  
				
					
						
							
							
								 
						
							
								a0dbf2ab99 
								
							 
						 
						
							
							
								
								Adding test cases for unrolling an iterable  #5062  
							
							
							
						 
						
							2019-05-25 19:34:08 +03:00  
				
					
						
							
							
								 
						
							
								6b5152ae13 
								
							 
						 
						
							
							
								
								Sanity tests for loop unrolling  
							
							
							
						 
						
							2019-05-25 19:34:08 +03:00  
				
					
						
							
							
								 
						
							
								1d466d0aa7 
								
							 
						 
						
							
							
								
								Use exec directly ( #5224 )  
							
							... 
							
							
							
							Use exec directly 
							
						 
						
							2019-05-07 10:02:12 -03:00  
				
					
						
							
							
								 
						
							
								d1a48ad68f 
								
							 
						 
						
							
							
								
								Use exec directly  
							
							
							
						 
						
							2019-05-06 23:07:39 -07:00  
				
					
						
							
							
								 
						
							
								77526f412c 
								
							 
						 
						
							
							
								
								Skip test_source_mtime_long_long on 32bit and lower platforms  
							
							
							
						 
						
							2019-04-04 13:14:46 +02:00  
				
					
						
							
							
								 
						
							
								6eff3069da 
								
							 
						 
						
							
							
								
								Merge pull request  #4851  from blueyed/addopts-vv  
							
							... 
							
							
							
							ci: PYTEST_ADDOPTS=-vv 
							
						 
						
							2019-03-25 23:41:33 +01:00  
				
					
						
							
							
								 
						
							
								58a14b6b99 
								
							 
						 
						
							
							
								
								Merge pull request  #4986  from blueyed/fnmatch_lines-list  
							
							... 
							
							
							
							tests: fnmatch_lines: use list 
							
						 
						
							2019-03-25 23:31:04 +01:00  
				
					
						
							
							
								 
						
							
								08f3b02dfc 
								
							 
						 
						
							
							
								
								tests: fnmatch_lines: use list  
							
							... 
							
							
							
							For strings fnmatch_lines converts it into a Source objects, splitted on
newlines.  This is not necessary here, and it is more consistent to use
lists here in the first place. 
							
						 
						
							2019-03-23 11:36:18 +01:00  
				
					
						
							
							
								 
						
							
								05d55b86df 
								
							 
						 
						
							
							
								
								tests: minor sys.path cleanup  
							
							
							
						 
						
							2019-03-22 16:20:55 +01:00  
				
					
						
							
							
								 
						
							
								2e7d6a6202 
								
							 
						 
						
							
							
								
								Fix test_assertrewrite in verbose mode  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/4879 . 
							
						 
						
							2019-03-22 13:00:35 +01:00  
				
					
						
							
							
								 
						
							
								bd70f5c148 
								
							 
						 
						
							
							
								
								Add test for mtime issue in  #4903  
							
							
							
						 
						
							2019-03-14 10:16:08 -03:00  
				
					
						
							
							
								 
						
							
								8481e438bd 
								
							 
						 
						
							
							
								
								ci: revisit coverage reporting  
							
							... 
							
							
							
							This brings coverage back that got missing with 9dcd6f2#4839  / #4846 . 
							
						 
						
							2019-03-05 13:34:46 +01:00  
				
					
						
							
							
								 
						
							
								6fb7269979 
								
							 
						 
						
							
							
								
								terminal: write_fspath_result: work around py bug  
							
							
							
						 
						
							2019-02-15 17:47:00 +01:00  
				
					
						
							
							
								 
						
							
								315374008b 
								
							 
						 
						
							
							
								
								Remove workaround for docstrings for py38+  
							
							
							
						 
						
							2019-02-05 12:48:18 -08:00  
				
					
						
							
							
								 
						
							
								acb3e8e8a7 
								
							 
						 
						
							
							
								
								Test rewriting assertion when __name__ fails  
							
							... 
							
							
							
							Pytest rewrites assertions so that the items on each
side of a comoparison will have easier-to-read names
in case of an assertion error.
Before doing this, it checks to make sure the object
doesn't have a __name__ attribute; however, it uses
`hasattr` so if the objects __getattr__ is broken then
the test failure message will be the stack trace
for this failure instead of a rewritten assertion. 
							
						 
						
							2019-01-10 20:45:15 -05:00  
				
					
						
							
							
								 
						
							
								fd48cd57f9 
								
							 
						 
						
							
							
								
								Remove config.warn, Node.warn; pytest_logwarning issues a warning when implemented  
							
							... 
							
							
							
							Fix  #3078  
						
							2018-12-14 12:50:18 -02:00  
				
					
						
							
							
								 
						
							
								690a63b921 
								
							 
						 
						
							
							
								
								Fix assertion rewriting involving Starred + side-effects  
							
							
							
						 
						
							2018-11-17 10:42:51 -08:00  
				
					
						
							
							
								 
						
							
								2368fbb63c 
								
							 
						 
						
							
							
								
								Apply reorder-python-imports to all files  
							
							
							
						 
						
							2018-10-25 00:01:29 -07:00  
				
					
						
							
							
								 
						
							
								c61ff31ffa 
								
							 
						 
						
							
							
								
								Fix   #3539 : reload module with assertion rewrite import hook  
							
							
							
						 
						
							2018-09-23 13:05:55 +02:00  
				
					
						
							
							
								 
						
							
								7122fa5613 
								
							 
						 
						
							
							
								
								Fix UnicodeDecodeError in assertion with mixed non-ascii bytes repr + text  
							
							
							
						 
						
							2018-09-19 20:24:00 -07:00  
				
					
						
							
							
								 
						
							
								1df6d28080 
								
							 
						 
						
							
							
								
								Fix assertion rewriter crash if cwd changes mid-testing  
							
							... 
							
							
							
							Unfortunately we need to get a `py.path.local` object to perform the fnmatch
operation, it is different from the standard `fnmatch` module because it
implements its own custom logic. So we need to use `py.path` to perform
the fnmatch for backward compatibility reasons.
Ideally we should be able to use a "pure path" in `pathlib` terms (a path
not bound to the file system), but we don't have those in pylib.
Fix  #3973  
							
						 
						
							2018-09-17 20:04:44 -03:00  
				
					
						
							
							
								 
						
							
								69b34f7658 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into release-3.8.0  
							
							
							
						 
						
							2018-09-05 18:02:02 -03:00  
				
					
						
							
							
								 
						
							
								56d414177a 
								
							 
						 
						
							
							
								
								Remove nodeid from messages for warnings generated by standard warnings  
							
							... 
							
							
							
							Standard warnings already contain the proper location, so we don't need
to also print the node id 
							
						 
						
							2018-09-04 11:35:34 -03:00  
				
					
						
							
							
								 
						
							
								19a01c9849 
								
							 
						 
						
							
							
								
								Make PytestWarning and RemovedInPytest4Warning part of the public API  
							
							
							
						 
						
							2018-09-04 11:35:34 -03:00  
				
					
						
							
							
								 
						
							
								78ac7d99f5 
								
							 
						 
						
							
							
								
								Deprecate Config.warn and Node.warn, replaced by standard warnings  
							
							
							
						 
						
							2018-09-04 11:35:34 -03:00  
				
					
						
							
							
								 
						
							
								4675912d89 
								
							 
						 
						
							
							
								
								Add tests for early rewrite bailout code and handle patterns with subdirectories  
							
							
							
						 
						
							2018-09-01 10:59:21 -03:00  
				
					
						
							
							
								 
						
							
								82a7ca9615 
								
							 
						 
						
							
							
								
								Avoid possible infinite recursion when writing pyc files in assert rewrite  
							
							... 
							
							
							
							What happens is that atomic_write on Python 2.7 on Windows will try
to convert the paths to unicode, but this triggers the import of
the encoding module for the file system codec, which in turn triggers
the rewrite, which in turn again tries to import the module, and so on.
This short-circuits the cases where we try to import another file when
writing a pyc file; I don't expect this to affect anything because
the only modules that could be affected are those imported by
atomic_writes.
Fix  #3506  
							
						 
						
							2018-08-27 21:29:45 -03:00  
				
					
						
							
							
								 
						
							
								f2e35c8c4f 
								
							 
						 
						
							
							
								
								Merge pull request  #3859  from asottile/pyupgrade_1_4  
							
							... 
							
							
							
							Some pyupgrade 1.4.x changes 
							
						 
						
							2018-08-23 18:32:53 -07:00  
				
					
						
							
							
								 
						
							
								85482d575e 
								
							 
						 
						
							
							
								
								Replace Source with dedent where possible  
							
							
							
						 
						
							2018-08-23 09:06:17 -07:00  
				
					
						
							
							
								 
						
							
								c2cd337886 
								
							 
						 
						
							
							
								
								py.builtin.exec_ => six.exec_  
							
							
							
						 
						
							2018-08-22 23:00:06 -07:00  
				
					
						
							
							
								 
						
							
								0fc4a806e5 
								
							 
						 
						
							
							
								
								py.builtins._totext -> string literals or six.text_type  
							
							
							
						 
						
							2018-08-22 23:00:04 -07:00  
				
					
						
							
							
								 
						
							
								8bb8b91357 
								
							 
						 
						
							
							
								
								pyupgrade 1.4: tests  
							
							
							
						 
						
							2018-08-22 18:47:21 -07:00  
				
					
						
							
							
								 
						
							
								452e5c1cf0 
								
							 
						 
						
							
							
								
								Fix `TypeError` when the assertion message is `bytes` in python 3.  
							
							
							
						 
						
							2018-08-01 15:09:25 -07:00  
				
					
						
							
							
								 
						
							
								61301d934e 
								
							 
						 
						
							
							
								
								Remove some extraneous `# noqa` comments  
							
							... 
							
							
							
							This was partially automated with https://github.com/asottile/yesqa 
_with a few caveats_:
- it was run under python2 (chosen arbitrarily, when run under python3 other
  things were changed)
- I used `git checkout -p` to revert the removal of `noqa` comments from
  `cmp()` lines. 
							
						 
						
							2018-07-08 17:05:52 -07:00  
				
					
						
							
							
								 
						
							
								4ae93a7a07 
								
							 
						 
						
							
							
								
								Remove obsolete __future__ imports  
							
							
							
						 
						
							2018-07-08 08:37:02 -07:00  
				
					
						
							
							
								 
						
							
								cbaa7dd56a 
								
							 
						 
						
							
							
								
								Upgrade pre-commit hooks except pyupgrade  
							
							
							
						 
						
							2018-06-26 06:35:27 -07:00  
				
					
						
							
							
								 
						
							
								39ebdab1bc 
								
							 
						 
						
							
							
								
								DRY in TestAssertionRewrite  
							
							
							
						 
						
							2018-06-04 14:03:13 +02:00  
				
					
						
							
							
								 
						
							
								9a6fa33c69 
								
							 
						 
						
							
							
								
								Module docstrings in 3.7 are not part of Module node anymore  
							
							... 
							
							
							
							Fixes https://github.com/pytest-dev/pytest/issues/3530  
							
						 
						
							2018-06-04 13:58:35 +02:00  
				
					
						
							
							
								 
						
							
								703e4b11ba 
								
							 
						 
						
							
							
								
								run black  
							
							
							
						 
						
							2018-05-23 16:48:46 +02:00  
				
					
						
							
							
								 
						
							
								aa95a425d7 
								
							 
						 
						
							
							
								
								Attempt to solve race-condition which corrupts .pyc files on Windows  
							
							... 
							
							
							
							This uses of the `atomicwrites` library.
This is very hard to create a reliable test for.
Fix  #3008  
							
						 
						
							2018-04-12 08:19:28 -03:00  
				
					
						
							
							
								 
						
							
								bd1d17e8de 
								
							 
						 
						
							
							
								
								Replace py.std with stdlib imports  
							
							
							
						 
						
							2018-01-09 12:44:10 -08:00  
				
					
						
							
							
								 
						
							
								c8e7d1ae34 
								
							 
						 
						
							
							
								
								Respect PYTEST_DONT_REWRITE for plugins too.  
							
							
							
						 
						
							2017-12-12 17:43:17 -08:00  
				
					
						
							
							
								 
						
							
								983a09a2d4 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2017-11-10 18:33:02 -02:00  
				
					
						
							
							
								 
						
							
								03829fde8a 
								
							 
						 
						
							
							
								
								Fix linting E741: ambiguous variable name  
							
							
							
						 
						
							2017-11-04 13:59:10 -02:00  
				
					
						
							
							
								 
						
							
								f3a119c06a 
								
							 
						 
						
							
							
								
								Merge upstream/master into features  
							
							
							
						 
						
							2017-11-03 16:37:18 -02:00  
				
					
						
							
							
								 
						
							
								27cea340f3 
								
							 
						 
						
							
							
								
								Remove trailing whitespace  
							
							
							
						 
						
							2017-10-26 21:55:28 -02:00  
				
					
						
							
							
								 
						
							
								27bb2eceb4 
								
							 
						 
						
							
							
								
								Add comment about why we remove docstrings on test_assertrewrite  
							
							... 
							
							
							
							As explained in pytest-dev/pytest#2870  
							
						 
						
							2017-10-26 20:15:05 -02:00  
				
					
						
							
							
								 
						
							
								fd7bfa30d0 
								
							 
						 
						
							
							
								
								Put imports on the last line unless there are other exprs  
							
							
							
						 
						
							2017-10-25 11:05:07 +03:00  
				
					
						
							
							
								 
						
							
								3427d27d5a 
								
							 
						 
						
							
							
								
								Try to get docstring from module node  
							
							
							
						 
						
							2017-10-25 10:54:43 +03:00  
				
					
						
							
							
								 
						
							
								ef732fc51d 
								
							 
						 
						
							
							
								
								Remove code for unsupported Python versions  
							
							
							
						 
						
							2017-10-10 08:54:56 +03:00  
				
					
						
							
							
								 
						
							
								b9e318866e 
								
							 
						 
						
							
							
								
								Fixed E402 flake8 errors  
							
							... 
							
							
							
							module level import not at top of file 
							
						 
						
							2017-07-17 01:44:23 +02:00  
				
					
						
							
							
								 
						
							
								b840622819 
								
							 
						 
						
							
							
								
								Fixed E302 flake8 errors  
							
							... 
							
							
							
							expected 2 blank lines, found 0 
							
						 
						
							2017-07-17 01:44:23 +02:00  
				
					
						
							
							
								 
						
							
								8f3eb6dfc7 
								
							 
						 
						
							
							
								
								Fixed E261 flake8 errors  
							
							... 
							
							
							
							at least two spaces before inline comment 
							
						 
						
							2017-07-17 01:44:22 +02:00  
				
					
						
							
							
								 
						
							
								617e510b6e 
								
							 
						 
						
							
							
								
								Fixed E231 flake8 errors  
							
							... 
							
							
							
							missing whitespace after ‘,’, ‘;’, or ‘:’ 
							
						 
						
							2017-07-17 01:44:22 +02:00  
				
					
						
							
							
								 
						
							
								ebb6d0650b 
								
							 
						 
						
							
							
								
								Fixed E203 flake8 errors  
							
							... 
							
							
							
							whitespace before ‘:’ 
							
						 
						
							2017-07-17 01:44:22 +02:00  
				
					
						
							
							
								 
						
							
								cf97159009 
								
							 
						 
						
							
							
								
								Fixed E128 flake8 errors  
							
							... 
							
							
							
							continuation line under-indented for visual indent 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								051d76a63f 
								
							 
						 
						
							
							
								
								Fixed E124 flake8 errors  
							
							... 
							
							
							
							closing bracket does not match visual indentation 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								425665cf25 
								
							 
						 
						
							
							
								
								Fixed E122 flake8 errors  
							
							... 
							
							
							
							continuation line missing indentation or outdented 
							
						 
						
							2017-07-17 01:28:16 +02:00  
				
					
						
							
							
								 
						
							
								ac9c8fcdab 
								
							 
						 
						
							
							
								
								Failing test for issue  #2121  
							
							
							
						 
						
							2017-05-31 08:25:04 +02:00  
				
					
						
							
							
								 
						
							
								1b5f898dc5 
								
							 
						 
						
							
							
								
								Ensure rewritten modules don't inherit __future__ flags from pytest  
							
							... 
							
							
							
							In a recent refactoring we enabled all __future__ features in pytest
modules, but that has the unwanted side effect of propagating those
features to compile()'d modules inside assertion rewriting, unless
we pass dont_inherit=False to compile(). 
							
						 
						
							2017-04-06 15:00:36 -03:00  
				
					
						
							
							
								 
						
							
								42a5d6bdfa 
								
							 
						 
						
							
							
								
								Add __future__ imports to all pytest modules  
							
							... 
							
							
							
							This prevents silly errors from creeping in Python 2 when testing in Python 3 
							
						 
						
							2017-03-16 22:45:40 -03:00  
				
					
						
							
							
								 
						
							
								1e0cf5ce4d 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							... 
							
							
							
							# Conflicts:
#	AUTHORS
#	CHANGELOG.rst
#	_pytest/pytester.py 
							
						 
						
							2017-03-10 15:54:05 -03:00  
				
					
						
							
							
								 
						
							
								fb0b90646e 
								
							 
						 
						
							
							
								
								New-style classes implemented for python 2.7 -  #2147  
							
							
							
						 
						
							2017-02-16 20:28:17 +01:00  
				
					
						
							
							
								 
						
							
								ede4e9171f 
								
							 
						 
						
							
							
								
								Spelling fixes  
							
							
							
						 
						
							2017-02-15 17:00:58 +02:00  
				
					
						
							
							
								 
						
							
								043aadeaf2 
								
							 
						 
						
							
							
								
								Consider plugins loaded by PYTEST_PLUGINS for assertion rewrite  
							
							... 
							
							
							
							Fix  #2185  
						
							2017-01-11 17:15:16 -02:00  
				
					
						
							
							
								 
						
							
								bc0f7e6243 
								
							 
						 
						
							
							
								
								Fix false-positive assert rewrite warnings when using 'pytest_plugins'  
							
							... 
							
							
							
							pytest would emit false positive warnings about assertion-rewrite when a
module appears multiple times in plugins which depend
on other plugins using the 'pytest_plugins' mechanism 
							
						 
						
							2016-12-01 15:50:08 -02:00  
				
					
						
							
							
								 
						
							
								a5b5090c72 
								
							 
						 
						
							
							
								
								Merge pull request  #2070  from nedbat/bug2038  
							
							... 
							
							
							
							Don't fail if imp can't find the source for a .pyc file. #2038  
							
						 
						
							2016-11-22 17:45:29 +01:00  
				
					
						
							
							
								 
						
							
								1eb5a690d4 
								
							 
						 
						
							
							
								
								Fix flake8 E305 and E306 errors  
							
							... 
							
							
							
							These errors started to appear with flake8-3.1.1, while they don't appear with
version 3.1.0 (weird). 
							
						 
						
							2016-11-20 18:59:15 -02:00  
				
					
						
							
							
								 
						
							
								06bb61bbe3 
								
							 
						 
						
							
							
								
								Don't fail if imp can't find the source for a .pyc file.  #2038  
							
							
							
						 
						
							2016-11-20 13:09:32 -05:00  
				
					
						
							
							
								 
						
							
								2a2b8cee09 
								
							 
						 
						
							
							
								
								Fix false-positive warnings from assertion rewrite hook  
							
							... 
							
							
							
							Fix  #2005  
						
							2016-10-20 21:40:57 -02:00