from __future__ import absolute_import, division, print_function, unicode_literals

from .api import record  # noqa: F401

__version__ = '1.0.0'

from __future__ import absolute_import, division, print_function, unicode_literals

import six

try:
    import pytest
except ImportError:
    pytest = None

if pytest is not None:
    if six.PY2:
        pytest.register_assert_rewrite(b'django_performance_recorder.api')
    else:
        pytest.register_assert_rewrite('django_performance_recorder.api')

from .api import record  # noqa: F401

__version__ = '1.0.0'

Make assert statement rich in pytest
Make assert statement rich in pytest

  from __future__ import absolute_import, division, print_function, unicode_literals
+ 
+ import six
+ 
+ try:
+     import pytest
+ except ImportError:
+     pytest = None
+ 
+ if pytest is not None:
+     if six.PY2:
+         pytest.register_assert_rewrite(b'django_performance_recorder.api')
+     else:
+         pytest.register_assert_rewrite('django_performance_recorder.api')
  
  from .api import record  # noqa: F401
  
  __version__ = '1.0.0'
  
Make assert statement rich in pytest
## Code Before:
from __future__ import absolute_import, division, print_function, unicode_literals

from .api import record  # noqa: F401

__version__ = '1.0.0'

## Instruction:
Make assert statement rich in pytest
## Code After:
from __future__ import absolute_import, division, print_function, unicode_literals

import six

try:
    import pytest
except ImportError:
    pytest = None

if pytest is not None:
    if six.PY2:
        pytest.register_assert_rewrite(b'django_performance_recorder.api')
    else:
        pytest.register_assert_rewrite('django_performance_recorder.api')

from .api import record  # noqa: F401

__version__ = '1.0.0'
