def test_max_value_and_positive(self):
        """
        Combining the max_value and positive keyword arguments produces
        numbers that obey both of those constraints.
        """

        result = self.fake.pydecimal(positive=True, max_value=100)
        self.assertLessEqual(result, 100)
        self.assertGreater(result, 0)

        Combining the max_value and positive keyword arguments produces
        numbers that obey both of those constraints.
        
tests/providers/test_python.py