<commit_before>import redisdl
import unittest
import json
import os.path

class RedisdlTest(unittest.TestCase):
    def test_roundtrip(self):
        path = os.path.join(os.path.dirname(__file__), 'fixtures', 'dump.json')
        with open(path) as f:
            dump = f.read()
        
        redisdl.loads(dump)
        
        redump = redisdl.dumps()
        
        expected = json.loads(dump)
        actual = json.loads(redump)
        <commit_msg>Kill whitespace<commit_after>import redisdl
import unittest
import json
import os.path

class RedisdlTest(unittest.TestCase):
    def test_roundtrip(self):
        path = os.path.join(os.path.dirname(__file__), 'fixtures', 'dump.json')
        with open(path) as f:
            dump = f.read()

        redisdl.loads(dump)

        redump = redisdl.dumps()

        expected = json.loads(dump)
        actual = json.loads(redump)
        
{'fraction_non_alphanumeric': 0.1091314031180401, 'fraction_numerical': 0.0, 'mean_word_length': 2.3296296296296295, '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': '2844094', 'n_tokens_mistral': 291, 'n_tokens_neox': 290, 'n_words': 59}