<commit_before>import unittest

from rdflib import *

class ContextTestCase(unittest.TestCase):
    backend = 'Sleepycat'
    path = 'store'

    def setUp(self):
        self.graph = Graph(backend=self.backend)
        self.graph.open(self.path)
        self.michel = URIRef(u'michel')
        self.tarek = URIRef(u'tarek')<commit_msg>updated to use temp path<commit_after>import unittest

from tempfile import mkdtemp
from rdflib import *

class ContextTestCase(unittest.TestCase):
    backend = 'Memory'

    def setUp(self):
        self.graph = Graph(backend=self.backend)        
        self.graph.open(mkdtemp())
        self.michel = URIRef(u'michel')
        self.tarek = URIRef(u'tarek')
{'fraction_non_alphanumeric': 0.11174785100286533, 'fraction_numerical': 0.0, 'mean_word_length': 3.136094674556213, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7610967', 'n_tokens_mistral': 234, 'n_tokens_neox': 226, 'n_words': 45}