1 new changeset in pytest:

http://bitbucket.org/hpk42/pytest/changeset/65f610a0f390/
changeset:   65f610a0f390
branches:    
user:        hpk42
date:        2011-05-31 15:21:08
summary:     - properly include _pytest.assertion in distribution
- import assertion only at import-test module time
affected #:  3 files (27 bytes)

--- a/_pytest/__init__.py       Tue May 31 14:11:53 2011 +0200
+++ b/_pytest/__init__.py       Tue May 31 15:21:08 2011 +0200
@@ -1,2 +1,2 @@
 #
-__version__ = '2.1.0.dev2'
+__version__ = '2.1.0.dev3'


--- a/_pytest/python.py Tue May 31 14:11:53 2011 +0200
+++ b/_pytest/python.py Tue May 31 15:21:08 2011 +0200
@@ -4,7 +4,6 @@
 import sys
 import pytest
 from py._code.code import TerminalRepr
-from _pytest import assertion
 
 import _pytest
 cutdir = py.path.local(_pytest.__file__).dirpath()
@@ -227,6 +226,7 @@
 
     def _importtestmodule(self):
         # we assume we are only called once per module
+        from _pytest import assertion
         assertion.before_module_import(self)
         try:
             try:


--- a/setup.py  Tue May 31 14:11:53 2011 +0200
+++ b/setup.py  Tue May 31 15:21:08 2011 +0200
@@ -22,7 +22,7 @@
         name='pytest',
         description='py.test: simple powerful testing with Python',
         long_description = long_description,
-        version='2.1.0.dev2',
+        version='2.1.0.dev3',
         url='http://pytest.org',
         license='MIT license',
         platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
@@ -41,7 +41,7 @@
                      'Topic :: Utilities',
                      'Programming Language :: Python',
                      'Programming Language :: Python :: 3'],
-        packages=['_pytest', ],
+        packages=['_pytest', '_pytest.assertion'],
         py_modules=['pytest'],
         zip_safe=False,
     )

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to