def METHOD_NAME(self):
    with self.subTest("OK"):
        self.app_config.update_default_dataset_config(X_approximate_distribution="count")
    tests = ["auto", "bad"]
    for test in tests:
        with self.subTest(test), self.assertRaises(ConfigurationError):
            self.app_config.update_default_dataset_config(X_approximate_distribution=test)