22 lines
391 B
Python
22 lines
391 B
Python
from __future__ import absolute_import, division, print_function
|
|
|
|
import os
|
|
|
|
import pytest
|
|
from hypothesis import settings
|
|
|
|
|
|
@pytest.fixture(scope="session")
|
|
def C():
|
|
"""
|
|
Return a simple but fully features attrs class with an x and a y attribute.
|
|
"""
|
|
from attr import attributes, attr
|
|
|
|
@attributes
|
|
class C(object):
|
|
x = attr()
|
|
y = attr()
|
|
|
|
return C
|