# Path: formulaic/model_matrix.py
# class ModelMatrix(wrapt.ObjectProxy):
#     def __init__(self, data, spec=None):
#     def model_spec(self):
#     def __repr__(self):
# 
# Path: formulaic/errors.py
# class FactorEvaluationError(FormulaMaterializationError):
#     pass


import pytest
import pandas
from formulaic import model_matrix
from formulaic.errors import FactorEvaluationError




def global_test(x):
    return x ** 2


class TestSugar:

# Path: formulaic/model_matrix.py
# class ModelMatrix(wrapt.ObjectProxy):
#     def __init__(self, data, spec=None):
#     def model_spec(self):
#     def __repr__(self):
# 
# Path: formulaic/errors.py
# class FactorEvaluationError(FormulaMaterializationError):
#     pass


# Path: tests/test_sugar.py
import pytest
import pandas
from formulaic import model_matrix
from formulaic.errors import FactorEvaluationError





def global_test(x):
    return x ** 2


class TestSugar:

    @pytest.fixture